package com.info.zhiduoduo.admin.model.formbean.crowdsource;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.info.zhiduoduo.common.validator.ExcelValid;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class UploadCrowdsourceFormBean {

	@ExcelProperty(index = 0)
	@ExcelValid(message = "姓名不能为空不能为空")
	private String realname;

	@ExcelProperty(index = 1)
	@ExcelValid(message = "性别不能为空")
	private String sex;

	@ExcelProperty(index = 2)
	@ExcelValid(message = "手机号不能为空")
	private String phone;

	@ExcelProperty(index = 3)
	@ExcelValid(message = "证件类型不能为空")
	private String identityType;

	@ExcelProperty(index = 4)
	@ExcelValid(message = "身份证号不能为空")
//	@IdCard
	private String idno;

	@ExcelProperty(index = 5)
	@ExcelValid(message = "银行卡号不能为空")
	private String acctno;

	@ExcelProperty(index = 6)
	@ExcelValid(message = "开户行不能为空")
	private String bankname;

	@ExcelProperty(index = 7)
	private String alipayLogonId;

	@ExcelIgnore
	private Integer sexS;

	@ExcelIgnore
	private Integer identityTypeS;
}
